﻿@model PilotProject.Candidate

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_ExaminerLayout.cshtml";
}

<link href="../../Content/items1/forms.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/dobdatePicker.js" type="text/javascript"></script>
@{
    Html.EnableClientValidation(true);
}

@using (Html.BeginForm("AddCandidate", "ScheduleTest"))
{
          
  <span style="color:Red">@Html.ValidationSummary()</span>
    
  <div id="form" class="myform">

    <fieldset>
     <legend>Add New Candidate</legend>
       
        <div id="parsonalDetails" >



             <label>First Name<span class="small">Add your first name</span></label>            
                <div id="firstname"> <p>
                    @Html.EditorFor(model => model.FirstName)</p>
                </div>
            

            <label>Last Name<span class="small">Add your last name name</span></label>
               <div id="lastname"> <p>
                    @Html.EditorFor(model => model.LastName)</p>
                  </div>
          

            <label>ARN<span class="small">Add ARN</span></label>
               <div id="arn"> <p>
                    @Html.EditorFor(model => model.ARN)
                 </p></div>
            

            <label>JPA<span class="small">Add JPA</span></label>
                <div id="jpa"> <p>
                    @Html.EditorFor(model => model.JPA)
                </p></div>
            

          <label>DOB<span class="small">Add DOB</span></label>
            <div id="dob"> <p>
                    @Html.EditorFor(model => model.DateOfBirth)   
                 </p></div>
             

            <label>Telephone<span class="small">Add Telephone</span></label>
            <div id="telephone"><p>
                    @Html.EditorFor(model => model.Telephone)
                </p> </div>
           

           <label>Mobile<span class="small">Add Mobile Number</span></label>
            <div id="mobile"> <p>
                    @Html.EditorFor(model => model.Mobile)
                </p></div>
            

           <label>Email<span class="small">Add a valid address</span></label>                        
            <div id="email"><p>
                    @Html.EditorFor(model => model.Email)
                </p></div>
              </div>          
                        
       
        <div style="float:right">@Html.EditorFor(model => model.Address)</div>


@*       <div id ="login" >
             <label>Username<span class="small">Add Username</span></label>                        
            <div id="username"><p>
                    @Html.EditorFor(model => model.Username)
                </p></div>
            

             <label>Password<span class="small">Create password</span></label>                        
            <div id="password"><p>
                    @Html.EditorFor(model => model.Password)
                </p> </div>
       </div>  *@


        <br /><div id="btn"><p class="b"><input type="submit" value="Save" class="saveBut" /></p>      </div>

    </fieldset>  
 </div>

}

<div id="link">
        <p>@Html.ActionLink("Back to List", "Index")</p>
</div>